<?php

class connectedProductsComponents extends myComponents
{
    public function executeRender()
    {
        $model          = new Product();
        $this->products = $model->getFrontpageProducts($this->getUser()->getCulture());
        $this->links    = LinkGen::getInstance(LinkGen::PRODUCT)->collectionLinks($this->products);
    }
}